from django.shortcuts import render,HttpResponse

# Create your views here.
def book_detail_query_string(request):
    book_id = request.GET.get('id')
    book_name = request.GET.get('name')
    return HttpResponse(f"图书ID是{book_id},名称是{book_name}")
def book_detail_path(request,book_id):
    return HttpResponse(f"查找的图书ID是{book_id}")
def book_str(requset,book_id):
    return HttpResponse(f"查找的图书ID是{book_id}")
def book_slug(requset,book_id):
    return HttpResponse(f"查找的图书ID是{book_id}")
def book_path(requset,book_id):
    return HttpResponse(f"查找的图书ID是{book_id}")